
export class HomePageData {
  code: number;
  msg: string;
  data: Data;
};

export class Data {
  type: string;
  location: string;
  body: Array<Body>;
};

export class  Body {
  isFirst:boolean=false;
  type: string;
  children: Array<Children>;
  style: string;
  width: number;
  height: number;
  marginTop: number;
  marginBottom: number;
  marginLeft: number;
  marginRight: number;
  radius: number;
  bgColor: string;
  panelName: string;
  moreLabel: string;
  isShowMore: number;
  moreUrl: string;
  iconUrl: string;
  countType: string;
  //以下是新闻使用的字段
  searchValue: string;
  createBy: string;
  createTime: string;
  updateBy: string;
  updateTime: string;
  delFlag: string;
  remark: string;
  paId: string;
  paPortalType: string;
  pacId: string;
  pacName: string;
  paImage: string;
  paTitle: string;
  paSubTitle: string;
  paContent: string;
  paPublishTime: string;
  paSort: number;
  pageHeadTitle: string;
  pageHeadKeywords: string;
  pageHeadDescription: string;
  paExternalLink: string;
  paStateCode: string;
  paLikeNum: number;
  paCommentNum: number;
  paRelayNum: number;
  paCollectNum: number;
  paIsLike: number;
  paIsCollect: number;
  paShareImage: string;
};

export class Children {
  id: string;
  ctm: number;
  mtm: number;
  caid: string;
  cuid: string;
  maid: string;
  muid: string;
  deptid?: string;
  jobid?: string;
  status: number;
  test: number;
  version?: string;
  carouselName: string;
  naviName:string;
  linkUrl: string;
  imgUrl: string;
  showPos: string;
  bgColor: string;
  startTm: number;
  endTm: number;
  weight: number;
  ios: number;
  android: number;
  courseName:string;
  courseDesc:string;
  courseLevel:string;
  cover:string;
  loves:number;
  follows:number;
  amount:number;
  price:number;
  tag:string;
  cateCode:string;
  courseTime:number;
  courseText:string;
  courseCateId:string;
  courseOrder:number;
  uid:string;
  courseCount:number;
  recommendOrder:number;
  hotOrder:number;
  indexRecommendOrder:number;
  fullname:string;
  chapterTotal:number;
  amountStr:string;
  description:string;
  name:string;
  speakerName:string;
  title:string;
  avatar:string;
  content:string;
  url:string;
  duration:number;
  checkIn:number;
  panelName:string;
  coverWidth:number;
  coverHeight:number;
  position:string;
  magnetCountStyle:string;
  beginTm:string;
  beginTmLabel:string;
  imageUrl:string;
  endTmLabel:string;
  specId:string;
  courseId:string;
  authUid:string;
  authName:string;
  authTitle:string;
  authAvatar:string;
  previewVideoUrl:string;
  displayStyle:string;
  worth:number;
  cost:number;
  pv:number;
  uv:number;
  worthLabel:string;
  priceLabel:string;
  costLabel:string;
  searchValue:string;
  createBy:string;
  createTime:string;
  updateBy:string;
  updateTime:string;
  delFlag:string;
  remark:string;
  paId:string;
  paPortalType:string;
  pacId:string;
  pacName:string;
  paImage:string;
  paOneImage:string;
  paOneImageWidth:string;
  paOneImageHeight:string;

  paTwoImage:string;
  paThreeImage:string;
  paTitle:string;
  paSubTitle:string;
  paContent:string;
  paPublishTime:string;
  paSort:number;
  pageHeadTitle:string;
  pageHeadKeywords:string;
  pageHeadDescription:string;
  paExternalLink:string;
  paStateCode:string;
  paLikeNum:number;
  paCommentNum:number;
  paRelayNum:number;
  paCollectNum:number;
  paIsLike:number;
  paIsCollect:number;
  paShareImage:string;
  children:Array<ChildrenDTOX> ;

};

export class ChildrenDTOX {
   id: string;
   ctm: number;
   mtm: number;
   caid: string;
   cuid: string;
   maid: string;
   muid: string;
   deptid: string;
   jobid: string;
   status: number;
   test: number;
   specId: string;
   courseId: string;
   courseName: string;
   weight: number;
   cover: string;
   coverWidth: number;
   coverHeight: number;
   authUid: string;
   authName: string;
   authTitle: string;
   authAvatar: string;
   displayStyle: string;
   worth: number;
   price: number;
   cost: number;
   beginTm: number;
   endTm: number;
   pv: number;
   uv: number;
   worthLabel: string;
   priceLabel: string;
   costLabel: string;


}

